package com.huatai.manage.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 编码管理（字典）;
 * </p>
 *
 * @author luoxc
 * @since 2023-07-05
 */
@Data
@Accessors(chain = true)
public class TbCodeManageVo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

   /* @ApiModelProperty(value = "主编码id")
    private String codeMainId;*/

	@ApiModelProperty(value = "主编码名称")
	private String codeMainName;

	@ApiModelProperty(value = "主编码")
	private String codeMain;

    @ApiModelProperty(value = "编码id")
    private String codeId;

    @ApiModelProperty(value = "编码")
    private String code;

    @ApiModelProperty(value = "编码名称")
    private String codeName;

    @ApiModelProperty(value = "编码类型")
    private String codeType;

    @ApiModelProperty(value = "单位")
    private String unit;

    @ApiModelProperty(value = "最大值")
    private String maxValue;

    @ApiModelProperty(value = "最小值")
    private String minValue;

    @ApiModelProperty(value = "状态")
    private String state;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "创建时间")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "修改时间")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    private LocalDateTime updateTime;


}
